package com.shop.seller.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ForwardAction {
	
	/**
	 * 载入home.jsp
	 * @return
	 */
	@RequestMapping("/home")
	public String loadHome(){
		return "seller/admin/home";
	}
	
	/**
	 * 登录成功跳转到index界面
	 * @return
	 */
	@RequestMapping("/index")
	public String pageindex(){
		return "seller/admin/index";
	}
	
	/**
	 * 实现页面跳转到修改密码的页面
	 * @return
	 */
	@RequestMapping("/pagepassword")
	public String pagepassword(){
		return "seller/admin/password";
	}
	
	

	
	/**
	 * 实现页面跳转到新增商品的页面
	 * @return
	 */
	@RequestMapping("/toAddGoods")
	public String toAddGoods(){
		return "seller/admin/goods_edit";
	}
}
